#{extends 'master.html' /}
#{set title:"DigitalBand.ru"/}
<div class="page-block">
    #{if isSuccess}
    <p class="success">
        &{'User.changePassword.success'}
    </p>
    #{/if}
    <form action="@{User.changePassword()}" method="POST">
        <div class="form">
            <fieldset>

                <div>
                    <label for="password">&{'User.changePassword.oldPassword'}</label>
                    <input type="password" name="oldPassword" id="password" value=""/>
                    #{error 'oldPassword' /}
                </div>
                <div>
                    <label for="newPassword">&{'User.changePassword.newPassword'}</label>
                    <input type="password" name="newPassword" id="newPassword" value=""/>
                    #{error 'newPassword'/}
                </div>
            </fieldset>
            <input type="submit" value="&{'User.changePassword.change'}" />
        </div>
    </form>
</div>